package com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.common;

/**
 * @author lilh
 * @date 2019-01-23 13:44
 */
public enum FlowCommonCodeConstants {

    /**
     * 更新失败
     */
    UPDATE_FAILED(10001, "更新失败"),

    DELETE_FAILED(10002, "删除失败"),

    START_FAILED(10003, "启动失败"),

    NOTICE_FAILED(10004, "未能查询到模板");

    private Integer code;

    private String desc;

    FlowCommonCodeConstants(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
